package guiobj;


import com.google.gson.Gson;


public class ClusterPanelInfo {
	public String hostname;
	public String status;
	public String nodes;
	public String procs;
	public String ajobs;
	public String qjobs;
	
	public ClusterPanelInfo() {}
	
	public String toString()
	{
		return new Gson().toJson(this);
	}
	
	public static ClusterPanelInfo fromJSon(String json)
	{
		return new Gson().fromJson(json,ClusterPanelInfo.class);
	}
}
